Skip to content

Conversation

@ChristopherGLewis
Copy link

Changed the code to remove all but latest version - had to convert WMI version to System.Version for sorting.
Used a select first to show current, select -skip 1 to remove all but current.
added /QN and IGNOREDEPENDENCIES=ALL for silent uninstall other than UAC prompt.

@ChristopherGLewis
Copy link
Author

Much faster and safer now

@kwaazaar
Copy link

kwaazaar commented Mar 2, 2019

I prefer the simplicity of the original script.

@ChristopherGLewis
Copy link
Author

Fixed an issue where the SDK packages were also installed via the WOW6432Node

@bugproof
Copy link

bugproof commented Dec 4, 2019

It would be better to choose the max version to remove with some wildcard/pattern e.g. I want to remove all 2.1 up to 2.1.801

@ghost
Copy link

ghost commented Apr 27, 2020

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants